﻿using System;
using System.Collections.Generic;
using System.Linq;

namespace ProblemsSet
{
    public class Problem_7: BaseProblem
    {
        public override object GetResult()
        {
            return MathLogic.GetPrimeList(10001).Last();
        }

        public override string Problem
        {
            get
            {
                return @"By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13.

What is the 10001st prime number?";
            }
        }

        public override bool IsSolved
        {
            get
            {
                return true;
            }
        }

        public override object Answer
        {
            get
            {
                return 104743;
            }
        }
    }
}
